#include <cstdlib>
extern float const colormap_plasma[256][3] = {
	{ 0.05038300f, 0.02980300f, 0.52797500f},
	{ 0.06353600f, 0.02842600f, 0.53312400f},
	{ 0.07535300f, 0.02720600f, 0.53800700f},
	{ 0.08622200f, 0.02612500f, 0.54265800f},
	{ 0.09637900f, 0.02516500f, 0.54710300f},
	{ 0.10598000f, 0.02430900f, 0.55136800f},
	{ 0.11512400f, 0.02355600f, 0.55546800f},
	{ 0.12390300f, 0.02287800f, 0.55942300f},
	{ 0.13238100f, 0.02225800f, 0.56325000f},
	{ 0.14060300f, 0.02168700f, 0.56695900f},
	{ 0.14860700f, 0.02115400f, 0.57056200f},
	{ 0.15642100f, 0.02065100f, 0.57406500f},
	{ 0.16407000f, 0.02017100f, 0.57747800f},
	{ 0.17157400f, 0.01970600f, 0.58080600f},
	{ 0.17895000f, 0.01925200f, 0.58405400f},
	{ 0.18621300f, 0.01880300f, 0.58722800f},
	{ 0.19337400f, 0.01835400f, 0.59033000f},
	{ 0.20044500f, 0.01790200f, 0.59336400f},
	{ 0.20743500f, 0.01744200f, 0.59633300f},
	{ 0.21435000f, 0.01697300f, 0.59923900f},
	{ 0.22119700f, 0.01649700f, 0.60208300f},
	{ 0.22798300f, 0.01600700f, 0.60486700f},
	{ 0.23471500f, 0.01550200f, 0.60759200f},
	{ 0.24139600f, 0.01497900f, 0.61025900f},
	{ 0.24803200f, 0.01443900f, 0.61286800f},
	{ 0.25462700f, 0.01388200f, 0.61541900f},
	{ 0.26118300f, 0.01330800f, 0.61791100f},
	{ 0.26770300f, 0.01271600f, 0.62034600f},
	{ 0.27419100f, 0.01210900f, 0.62272200f},
	{ 0.28064800f, 0.01148800f, 0.62503800f},
	{ 0.28707600f, 0.01085500f, 0.62729500f},
	{ 0.29347800f, 0.01021300f, 0.62949000f},
	{ 0.29985500f, 0.00956100f, 0.63162400f},
	{ 0.30621000f, 0.00890200f, 0.63369400f},
	{ 0.31254300f, 0.00823900f, 0.63570000f},
	{ 0.31885600f, 0.00757600f, 0.63764000f},
	{ 0.32515000f, 0.00691500f, 0.63951200f},
	{ 0.33142600f, 0.00626100f, 0.64131600f},
	{ 0.33768300f, 0.00561800f, 0.64304900f},
	{ 0.34392500f, 0.00499100f, 0.64471000f},
	{ 0.35015000f, 0.00438200f, 0.64629800f},
	{ 0.35635900f, 0.00379800f, 0.64781000f},
	{ 0.36255300f, 0.00324300f, 0.64924500f},
	{ 0.36873300f, 0.00272400f, 0.65060100f},
	{ 0.37489700f, 0.00224500f, 0.65187600f},
	{ 0.38104700f, 0.00181400f, 0.65306800f},
	{ 0.38718300f, 0.00143400f, 0.65417700f},
	{ 0.39330400f, 0.00111400f, 0.65519900f},
	{ 0.39941100f, 0.00085900f, 0.65613300f},
	{ 0.40550300f, 0.00067800f, 0.65697700f},
	{ 0.41158000f, 0.00057700f, 0.65773000f},
	{ 0.41764200f, 0.00056400f, 0.65839000f},
	{ 0.42368900f, 0.00064600f, 0.65895600f},
	{ 0.42971900f, 0.00083100f, 0.65942500f},
	{ 0.43573400f, 0.00112700f, 0.65979700f},
	{ 0.44173200f, 0.00154000f, 0.66006900f},
	{ 0.44771400f, 0.00208000f, 0.66024000f},
	{ 0.45367700f, 0.00275500f, 0.66031000f},
	{ 0.45962300f, 0.00357400f, 0.66027700f},
	{ 0.46555000f, 0.00454500f, 0.66013900f},
	{ 0.47145700f, 0.00567800f, 0.65989700f},
	{ 0.47734400f, 0.00698000f, 0.65954900f},
	{ 0.48321000f, 0.00846000f, 0.65909500f},
	{ 0.48905500f, 0.01012700f, 0.65853400f},
	{ 0.49487700f, 0.01199000f, 0.65786500f},
	{ 0.50067800f, 0.01405500f, 0.65708800f},
	{ 0.50645400f, 0.01633300f, 0.65620200f},
	{ 0.51220600f, 0.01883300f, 0.65520900f},
	{ 0.51793300f, 0.02156300f, 0.65410900f},
	{ 0.52363300f, 0.02453200f, 0.65290100f},
	{ 0.52930600f, 0.02774700f, 0.65158600f},
	{ 0.53495200f, 0.03121700f, 0.65016500f},
	{ 0.54057000f, 0.03495000f, 0.64864000f},
	{ 0.54615700f, 0.03895400f, 0.64701000f},
	{ 0.55171500f, 0.04313600f, 0.64527700f},
	{ 0.55724300f, 0.04733100f, 0.64344300f},
	{ 0.56273800f, 0.05154500f, 0.64150900f},
	{ 0.56820100f, 0.05577800f, 0.63947700f},
	{ 0.57363200f, 0.06002800f, 0.63734900f},
	{ 0.57902900f, 0.06429600f, 0.63512600f},
	{ 0.58439100f, 0.06857900f, 0.63281200f},
	{ 0.58971900f, 0.07287800f, 0.63040800f},
	{ 0.59501100f, 0.07719000f, 0.62791700f},
	{ 0.60026600f, 0.08151600f, 0.62534200f},
	{ 0.60548500f, 0.08585400f, 0.62268600f},
	{ 0.61066700f, 0.09020400f, 0.61995100f},
	{ 0.61581200f, 0.09456400f, 0.61714000f},
	{ 0.62091900f, 0.09893400f, 0.61425700f},
	{ 0.62598700f, 0.10331200f, 0.61130500f},
	{ 0.63101700f, 0.10769900f, 0.60828700f},
	{ 0.63600800f, 0.11209200f, 0.60520500f},
	{ 0.64095900f, 0.11649200f, 0.60206500f},
	{ 0.64587200f, 0.12089800f, 0.59886700f},
	{ 0.65074600f, 0.12530900f, 0.59561700f},
	{ 0.65558000f, 0.12972500f, 0.59231700f},
	{ 0.66037400f, 0.13414400f, 0.58897100f},
	{ 0.66512900f, 0.13856600f, 0.58558200f},
	{ 0.66984500f, 0.14299200f, 0.58215400f},
	{ 0.67452200f, 0.14741900f, 0.57868800f},
	{ 0.67916000f, 0.15184800f, 0.57518900f},
	{ 0.68375800f, 0.15627800f, 0.57166000f},
	{ 0.68831800f, 0.16070900f, 0.56810300f},
	{ 0.69284000f, 0.16514100f, 0.56452200f},
	{ 0.69732400f, 0.16957300f, 0.56091900f},
	{ 0.70176900f, 0.17400500f, 0.55729600f},
	{ 0.70617800f, 0.17843700f, 0.55365700f},
	{ 0.71054900f, 0.18286800f, 0.55000400f},
	{ 0.71488300f, 0.18729900f, 0.54633800f},
	{ 0.71918100f, 0.19172900f, 0.54266300f},
	{ 0.72344400f, 0.19615800f, 0.53898100f},
	{ 0.72767000f, 0.20058600f, 0.53529300f},
	{ 0.73186200f, 0.20501300f, 0.53160100f},
	{ 0.73601900f, 0.20943900f, 0.52790800f},
	{ 0.74014300f, 0.21386400f, 0.52421600f},
	{ 0.74423200f, 0.21828800f, 0.52052400f},
	{ 0.74828900f, 0.22271100f, 0.51683400f},
	{ 0.75231200f, 0.22713300f, 0.51314900f},
	{ 0.75630400f, 0.23155500f, 0.50946800f},
	{ 0.76026400f, 0.23597600f, 0.50579400f},
	{ 0.76419300f, 0.24039600f, 0.50212600f},
	{ 0.76809000f, 0.24481700f, 0.49846500f},
	{ 0.77195800f, 0.24923700f, 0.49481300f},
	{ 0.77579600f, 0.25365800f, 0.49117100f},
	{ 0.77960400f, 0.25807800f, 0.48753900f},
	{ 0.78338300f, 0.26250000f, 0.48391800f},
	{ 0.78713300f, 0.26692200f, 0.48030700f},
	{ 0.79085500f, 0.27134500f, 0.47670600f},
	{ 0.79454900f, 0.27577000f, 0.47311700f},
	{ 0.79821600f, 0.28019700f, 0.46953800f},
	{ 0.80185500f, 0.28462600f, 0.46597100f},
	{ 0.80546700f, 0.28905700f, 0.46241500f},
	{ 0.80905200f, 0.29349100f, 0.45887000f},
	{ 0.81261200f, 0.29792800f, 0.45533800f},
	{ 0.81614400f, 0.30236800f, 0.45181600f},
	{ 0.81965100f, 0.30681200f, 0.44830600f},
	{ 0.82313200f, 0.31126100f, 0.44480600f},
	{ 0.82658800f, 0.31571400f, 0.44131600f},
	{ 0.83001800f, 0.32017200f, 0.43783600f},
	{ 0.83342200f, 0.32463500f, 0.43436600f},
	{ 0.83680100f, 0.32910500f, 0.43090500f},
	{ 0.84015500f, 0.33358000f, 0.42745500f},
	{ 0.84348400f, 0.33806200f, 0.42401300f},
	{ 0.84678800f, 0.34255100f, 0.42057900f},
	{ 0.85006600f, 0.34704800f, 0.41715300f},
	{ 0.85331900f, 0.35155300f, 0.41373400f},
	{ 0.85654700f, 0.35606600f, 0.41032200f},
	{ 0.85975000f, 0.36058800f, 0.40691700f},
	{ 0.86292700f, 0.36511900f, 0.40351900f},
	{ 0.86607800f, 0.36966000f, 0.40012600f},
	{ 0.86920300f, 0.37421200f, 0.39673800f},
	{ 0.87230300f, 0.37877400f, 0.39335500f},
	{ 0.87537600f, 0.38334700f, 0.38997600f},
	{ 0.87842300f, 0.38793200f, 0.38660000f},
	{ 0.88144300f, 0.39252900f, 0.38322900f},
	{ 0.88443600f, 0.39713900f, 0.37986000f},
	{ 0.88740200f, 0.40176200f, 0.37649400f},
	{ 0.89034000f, 0.40639800f, 0.37313000f},
	{ 0.89325000f, 0.41104800f, 0.36976800f},
	{ 0.89613100f, 0.41571200f, 0.36640700f},
	{ 0.89898400f, 0.42039200f, 0.36304700f},
	{ 0.90180700f, 0.42508700f, 0.35968800f},
	{ 0.90460100f, 0.42979700f, 0.35632900f},
	{ 0.90736500f, 0.43452400f, 0.35297000f},
	{ 0.91009800f, 0.43926800f, 0.34961000f},
	{ 0.91280000f, 0.44402900f, 0.34625100f},
	{ 0.91547100f, 0.44880700f, 0.34289000f},
	{ 0.91810900f, 0.45360300f, 0.33952900f},
	{ 0.92071400f, 0.45841700f, 0.33616600f},
	{ 0.92328700f, 0.46325100f, 0.33280100f},
	{ 0.92582500f, 0.46810300f, 0.32943500f},
	{ 0.92832900f, 0.47297500f, 0.32606700f},
	{ 0.93079800f, 0.47786700f, 0.32269700f},
	{ 0.93323200f, 0.48278000f, 0.31932500f},
	{ 0.93563000f, 0.48771200f, 0.31595200f},
	{ 0.93799000f, 0.49266700f, 0.31257500f},
	{ 0.94031300f, 0.49764200f, 0.30919700f},
	{ 0.94259800f, 0.50263900f, 0.30581600f},
	{ 0.94484400f, 0.50765800f, 0.30243300f},
	{ 0.94705100f, 0.51269900f, 0.29904900f},
	{ 0.94921700f, 0.51776300f, 0.29566200f},
	{ 0.95134400f, 0.52285000f, 0.29227500f},
	{ 0.95342800f, 0.52796000f, 0.28888300f},
	{ 0.95547000f, 0.53309300f, 0.28549000f},
	{ 0.95746900f, 0.53825000f, 0.28209600f},
	{ 0.95942400f, 0.54343100f, 0.27870100f},
	{ 0.96133600f, 0.54863600f, 0.27530500f},
	{ 0.96320300f, 0.55386500f, 0.27190900f},
	{ 0.96502400f, 0.55911800f, 0.26851300f},
	{ 0.96679800f, 0.56439600f, 0.26511800f},
	{ 0.96852600f, 0.56970000f, 0.26172100f},
	{ 0.97020500f, 0.57502800f, 0.25832500f},
	{ 0.97183500f, 0.58038200f, 0.25493100f},
	{ 0.97341600f, 0.58576100f, 0.25154000f},
	{ 0.97494700f, 0.59116500f, 0.24815100f},
	{ 0.97642800f, 0.59659500f, 0.24476700f},
	{ 0.97785600f, 0.60205100f, 0.24138700f},
	{ 0.97923300f, 0.60753200f, 0.23801300f},
	{ 0.98055600f, 0.61303900f, 0.23464600f},
	{ 0.98182600f, 0.61857200f, 0.23128700f},
	{ 0.98304100f, 0.62413100f, 0.22793700f},
	{ 0.98419900f, 0.62971800f, 0.22459500f},
	{ 0.98530100f, 0.63533000f, 0.22126500f},
	{ 0.98634500f, 0.64096900f, 0.21794800f},
	{ 0.98733200f, 0.64663300f, 0.21464800f},
	{ 0.98826000f, 0.65232500f, 0.21136400f},
	{ 0.98912800f, 0.65804300f, 0.20810000f},
	{ 0.98993500f, 0.66378700f, 0.20485900f},
	{ 0.99068100f, 0.66955800f, 0.20164200f},
	{ 0.99136500f, 0.67535500f, 0.19845300f},
	{ 0.99198500f, 0.68117900f, 0.19529500f},
	{ 0.99254100f, 0.68703000f, 0.19217000f},
	{ 0.99303200f, 0.69290700f, 0.18908400f},
	{ 0.99345600f, 0.69881000f, 0.18604100f},
	{ 0.99381400f, 0.70474100f, 0.18304300f},
	{ 0.99410300f, 0.71069800f, 0.18009700f},
	{ 0.99432400f, 0.71668100f, 0.17720800f},
	{ 0.99447400f, 0.72269100f, 0.17438100f},
	{ 0.99455300f, 0.72872800f, 0.17162200f},
	{ 0.99456100f, 0.73479100f, 0.16893800f},
	{ 0.99449500f, 0.74088000f, 0.16633500f},
	{ 0.99435500f, 0.74699500f, 0.16382100f},
	{ 0.99414100f, 0.75313700f, 0.16140400f},
	{ 0.99385100f, 0.75930400f, 0.15909200f},
	{ 0.99348200f, 0.76549900f, 0.15689100f},
	{ 0.99303300f, 0.77172000f, 0.15480800f},
	{ 0.99250500f, 0.77796700f, 0.15285500f},
	{ 0.99189700f, 0.78423900f, 0.15104200f},
	{ 0.99120900f, 0.79053700f, 0.14937700f},
	{ 0.99043900f, 0.79685900f, 0.14787000f},
	{ 0.98958700f, 0.80320500f, 0.14652900f},
	{ 0.98864800f, 0.80957900f, 0.14535700f},
	{ 0.98762100f, 0.81597800f, 0.14436300f},
	{ 0.98650900f, 0.82240100f, 0.14355700f},
	{ 0.98531400f, 0.82884600f, 0.14294500f},
	{ 0.98403100f, 0.83531500f, 0.14252800f},
	{ 0.98265300f, 0.84181200f, 0.14230300f},
	{ 0.98119000f, 0.84832900f, 0.14227900f},
	{ 0.97964400f, 0.85486600f, 0.14245300f},
	{ 0.97799500f, 0.86143200f, 0.14280800f},
	{ 0.97626500f, 0.86801600f, 0.14335100f},
	{ 0.97444300f, 0.87462200f, 0.14406100f},
	{ 0.97253000f, 0.88125000f, 0.14492300f},
	{ 0.97053300f, 0.88789600f, 0.14591900f},
	{ 0.96844300f, 0.89456400f, 0.14701400f},
	{ 0.96627100f, 0.90124900f, 0.14818000f},
	{ 0.96402100f, 0.90795000f, 0.14937000f},
	{ 0.96168100f, 0.91467200f, 0.15052000f},
	{ 0.95927600f, 0.92140700f, 0.15156600f},
	{ 0.95680800f, 0.92815200f, 0.15240900f},
	{ 0.95428700f, 0.93490800f, 0.15292100f},
	{ 0.95172600f, 0.94167100f, 0.15292500f},
	{ 0.94915100f, 0.94843500f, 0.15217800f},
	{ 0.94660200f, 0.95519000f, 0.15032800f},
	{ 0.94415200f, 0.96191600f, 0.14686100f},
	{ 0.94189600f, 0.96859000f, 0.14095600f},
	{ 0.94001500f, 0.97515800f, 0.13132600f}
};